﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SM2ObjectRunner;

namespace SM2WelcomePage
{
    public class SM2 : IObject
    {
        public void run(string strSelectedAction)
        {
            switch (strSelectedAction)
            {
                case "loginValidate":
                    WelcomePage.loginValidate();
                    break;
                case "loginSuccess":
                    WelcomePage.loginSuccess();
                    break;
                case "logoff":
                    WelcomePage.logoff();
                    break;
                default:
                    break;
            }

        }
    }
}
